package cn.com.roy.thread.t3_1_11.stack_3;

public class RunCls {

    public static void main(String[] args) {
         MyStack stack = new MyStack();

        ThreadP p1 = new ThreadP(stack);
        ThreadP p2 = new ThreadP(stack);
        ThreadP p3 = new ThreadP(stack);
        ThreadP p4 = new ThreadP(stack);
        ThreadP p5 = new ThreadP(stack);
        ThreadC c1 = new ThreadC(stack);



        p1.start();
        p2.start();
        p3.start();
        p4.start();
        p5.start();
        c1.start();

    }


}
